package org.linlinjava.litemall.web.util;

public class WebResponseCode {
    public static final Integer AUTH_INVALID_ACCOUNT = 700;
    public static final Integer AUTH_INVALID_USER = 701;
    public static final Integer AUTH_CAPTCHA_FREQUENCY = 702;
    public static final Integer AUTH_CAPTCHA_UNMATCH = 703;
    public static final Integer AUTH_NAME_REGISTERED = 704;
    public static final Integer AUTH_MOBILE_REGISTERED = 705;
    public static final Integer AUTH_MOBILE_UNREGISTERED = 706;
    public static final Integer AUTH_INVALID_MOBILE = 707;
    public static final Integer AUTH_OPENID_UNACCESS = 708;
    public static final Integer AUTH_OPENID_BINDED = 709;
    public static final Integer AUTH_EMAIL_REGISTERED = 710;
    public static final Integer AUTH_EMAIL_UNREGISTERED = 711;
    public static final Integer AUTH_INVALID_EMAIL = 712;
    public static final Integer AUTH_EMAIL_NOT_EXIST = 713;
    public static final Integer AUTH_MOBILE_NOT_EXIST = 714;
    public static final Integer AUTH_NOT_PERMISSION = 715;

    public static final Integer GOODS_UNSHELVE = 710;
    public static final Integer GOODS_NO_STOCK = 711;
    public static final Integer GOODS_UNKNOWN = 712;
    public static final Integer GOODS_INVALID = 713;
    public static final Integer GOODS_PRICE_CHANGE = 714;
    public static final Integer GOODS_TAX_CHANGE = 715;
    //商品已下架
    public static final Integer GOODS_NOT_SALE = 716;
    //商品税收类型未配置
    public static final Integer GOODS_TAX_NOT_SET = 717;

    public static final Integer ORDER_UNKNOWN = 720;
    public static final Integer ORDER_INVALID = 721;
    public static final Integer ORDER_CHECKOUT_FAIL = 722;
    public static final Integer ORDER_CANCEL_FAIL = 723;
    public static final Integer ORDER_PAY_FAIL = 724;
    // 订单当前状态下不支持用户的操作，例如商品未发货状态用户执行确认收货是不可能的。
    public static final Integer ORDER_INVALID_OPERATION = 725;
    public static final Integer ORDER_COMMENTED = 726;
    public static final Integer ORDER_COMMENT_EXPIRED = 727;
    //外部交易订单id为空
    public static final Integer ORDER_OUT_TRADE_NO_IS_NULL = 728;
    //只有待制作或者订单已完成才能退款
    public static final Integer ORDER_INVALID_REFUND = 729;

    public static final Integer GROUPON_EXPIRED = 730;

    public static final int COUPON_EXCEED_LIMIT = 740;
    public static final int COUPON_RECEIVE_FAIL= 741;
    public static final int COUPON_CODE_INVALID= 742;

    //门店未开业
    public static final int SHOP_UNABLE = 750;
    //门店
    public static final int SHOP_CLOSED = 751;
    //不支持服务（配送，自提）
    public static final int SHOP_UNSUPPOT = 752;
    public static final int SHOP_NOT_EXSIT = 753;
    //当前店铺不能进行此操作
    public static final int SHOP_INVALID_OPERATION = 754;
    
    //只有新建状态的订单才能执行挂起操作
    public static final int ORDER_CAN_NOT_HANG = 761;
    //只有挂起状态的订单才能执行恢复操作
    public static final int ORDER_CAN_NOT_RECOVER = 762;
    //重复操作
    public static final Integer ORDER_REPEAT_OPERATION = 763;
    //退款订单不可制作
    public static final Integer ORDER_REFUND_COOK_INVALID = 764;
    //会员不存在
    public static final Integer ORDER_PAY_IS_NULL_MERMEBR = 765;
    //余额不足
    public static final Integer ORDER_PAY_NOT_ENOUGH_AMOUNT = 766;
    //礼物卡不存在
    public static final Integer ORDER_PAY_IS_NULL_CARD = 767;
    //退款商品数量超过可退数量
    public static final Integer ORDER_REFUND_NUMBER_INVALID = 768;
    //无可退款的商品
    public static final Integer ORDER_REFUND_NO_NUMBER = 769;

    //订单商品不存在
    public static final int ORDER_GOODS_UNKNOWN = 770;
    //添加的商品原料不足
    public static final int ORDER_GOODS_MERCHANDISE_NOTENOUGH = 771;
    //该店铺无操作商品的权限
    public static final int ORDER_GOODS_SHOP_INVALID_OPERATION = 772;
    //区域税收未配置
    public static final int TAX_REGION_NOT_SET = 780;
    
    //退款订单不存在
    public static final Integer ORDER_REFUND_NOT_EXIST = 790;
    //商品的退款数量必须大于0
    public static final Integer ORDER_REFUND_GOODS_NUMBER_INVALID = 791;
    //clover外部退款id为空
    public static final Integer ORDER_REFUND_OUT_TRAND_ID_IS_NULL = 792;
    //该退款订单已存在
    public static final Integer ORDER_REFUND_EXIST = 793;

    //商品
    public static final Integer CATEGORY_L2_ID_ERROR = 794;

    //充值金额不正确
    public static final Integer INVALID_RECHARGE_AMOUNT = 795;


    public static final Integer INVALID_PAY_AMOUNT = 796;

    public static final Integer INVALID_COUPON = 797;

    public static final Integer INVALID_CARDNO = 798;

    public static final Integer PULLED_COUPON = 799;

    public static final Integer FIRST_SETTLEMENT_ALREADY_EXIST = 800;

    public static final Integer AREA_LIMIT = 801;

    //强制下班
    public static final Integer INSUFFICIENT_ACCOUNT_PERMISSION=812;
    public static final Integer INCORRECT_ACCOUNT_PASSWORD= 813;

    //您的操作太快了,请稍后重试~
    public static final int TOO_QUICK_OPERATION_RETRY = 901;


}
